package com.xxgc.eow.service;

import com.xxgc.eow.entity.Company;
import com.xxgc.eow.entity.Companypost;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 企业岗位表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
public interface ICompanypostService extends IService<Companypost> {

    List<Companypost> getAllCompanyPost();

    List<Companypost> getByCompanyId(int CompanyId);

    Companypost getByPostId(int postId);

    int addCompanyPost(Companypost companypost);

    int delCompanyPostByPostId(Companypost companypost);
    int deleteByPrimaryKey(int postId);
    int delCompanyPostByCompanyId(Companypost companypost);
    int updatCompanyPost(Companypost companypost);

    List<Companypost> getAllPage(int pageNum,int pageSize, String keyWord);

    List<Companypost> getAllPage(String keyWord);

}
